cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
 
find_package(PCL 1.6 REQUIRED)
find_package(OpenCV REQUIRED)
 
include_directories(${PCL_INCLUDE_DIRS} )
link_directories(${PCL_LIBRARY_DIRS} )
add_definitions(${PCL_DEFINITIONS} )
 
add_executable (Source Source.cpp)
target_link_libraries (Source ${PCL_LIBRARIES} ${OpenCV_LIBS})
